package aries.utils;

import aries.Setting;

public class ExceptionManager {
    
    /**
     * Error code if the MYSQL still not running.
     */
    public static int MYSQL_DOESNT_START = 0;
    
    /**
     * Error code for MySQL Query Error.
     */
    public static int MYSQL_QUERY_ERROR = 1064;
    
    /**
     * Add exception to aries environtment.
     * 
     * @param exception 
     */
    public static void addException(Exception exception) {
        if (Setting.getShowException())
            exception.printStackTrace();
    }
    
}
